package cn.edu.scau.cmi.heyonglin.abstractFactory;

public abstract class AbstractFactory {
	public static AbstractFactory getFactory(String brand) {
		switch (brand) {
		case "Wens":
			return new WensFactory();
		case "Tianbang":
			return new TianbangFactory();
		case "Aonong":
			return new AonongFactory();
		}
		return null;

	}
	
	public abstract ConsumerMeat createPork();
	public abstract ConsumerMeat createChicken();
	public abstract ConsumerMeat createBeef();
}
